package com.javaclimb.music.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Singer {
    private Integer id;
    //账号
    private String name;
    //性别
    private Byte sex;
    //头像
    private String pic;
    //生日
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date birth;
    //地区
    private String location;
    //简介
    private String introduction;
}
